#include "MaterialSet.h"


MaterialSet::MaterialSet(void)
{
}


MaterialSet::~MaterialSet(void)
{
}

Material* MaterialSet::GetMaterialByIndex( int index )
{
	if(index>=m_lstMaterials.size())
		return NULL;
	return &m_lstMaterials[index];
}

void MaterialSet::AddMaterial( const Material& material )
{
	m_lstMaterials.push_back(material);
}
